package com.fs.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "添加商品展示图片时传递的数据模型")
public class ProductGalleryAddDTO {

    @ApiModelProperty("商品ID")
    private Long productId;

    @ApiModelProperty("图片URL")
    private String image;

    @ApiModelProperty("图片说明文本")
    private String text;

    @ApiModelProperty("排序号，越小越靠前")
    private Integer sort;
}
